package com.bbva.general.listeners;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class StartMonitor extends HttpServlet
{

	private static final long serialVersionUID = -2649485949851519751L;

	public void init(ServletConfig config) throws ServletException
	{
		super.init(config);
		ServiceMonitor monitor = new ServiceMonitor();
		try
		{
			monitor.start();
		}
		catch (Exception ex)
		{
			System.err.println(ex);
		}
	}
}
